package com.cangxuan.backend.service;

import com.alibaba.fastjson.JSONObject;
import com.cangxuan.backend.entity.OrderForm;

import java.util.List;

public interface IOrderFormService {


    JSONObject creatOrderForm(Integer goodsId, Integer count);

    int successPay(int orderId);

    int cancelOderForm(int orderId);

    List<OrderForm> getOderForm(int comeFrom, int state);

    void tryCancelOverTime(int orderId);
}
